{% extends "base.html" %}


{% block title %}PSES Assets{% endblock %}

{% block app %}PSES Corp Items{% endblock %}
{% load mptt_tags %}
{% block content %}
<ul>
	{% recursetree nodes %}
		{% regroup items by node.locationName as nodes %}
		<li>
			{{ node.locationName.grouper }}
			{{ node }} : {{ node.typeName }} - {{ node.quantity }} ==> location : {{ node.locationName }} 
			{% if not node.is_leaf_node %}
				<ul class="childen">
					{{ children }}	
				</ul>
			{% endif %}
		</li>
	{% endrecursetree %}
</ul>


<p>Vue affichee en {{ metaList.delta }} secondes</p>

{% endblock %}